<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="UTF-8">

<head>
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/font-awesome.min.css">
    <link rel="stylesheet" href="/static/css/main.css">
    <style>
        body {
            /*margin-right: 500px;*/
            margin-left: -300px;
            margin-top: -60px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">

            <div class="panel panel-default">
                <div class="panel-heading">用户信息修改
                    <div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i
                            class="glyphicon glyphicon-question-sign"></i></div>
                </div>
                <div class="panel-body">

                    <form action="/select/update/staff?id=${b.id}" method="post">
                        <%--当前页传过来--%>
                        <input type="hidden" name="pageNum" value="${param.pageNum}">


                        <div class="form-group">
                            <label for="username">用户名称</label>
                            <input type="text"
                                   name="username"
                                   class="form-control"
                                   id="username"
                                   value="${b.username}"
                            >
                        </div>

                        <div class="form-group">
                            <label for="password">用户密码</label>
                            <input type="password"
                                   name="password"
                                   class="form-control"
                                   id="password"
                                   value="${b.password}"
                            >
                        </div>

                        <div class="form-group">
                            <label for="name">姓名</label>
                            <input type="text"
                                   name="name"
                                   class="form-control"
                                   id="name"
                                   value="${b.name}"
                            >
                        </div>

                        <div class="form-group">
                            <label for="sex">性别</label>
                            <input type="text"
                                   name="sex"
                                   class="form-control"
                                   id="sex"
                                   value="${b.sex}"
                            >
                        </div>

                        <div class="form-group">
                            <label for="email">邮箱</label>
                            <input type="text"
                                   name="email"
                                   class="form-control"
                                   id="email"
                                   value="${b.email}"
                            >
                        </div>

                            <div class="form-group">
                                <label for="phone">电话</label>
                                <input type="text"
                                       name="phone"
                                       class="form-control"
                                       id="phone"
                                       value="${b.phone}"
                                >
                            </div>

                            <div class="form-group">
                                <label for="birthday">出生日期</label>
                                <input type="text"
                                       name="birthday"
                                       class="form-control"
                                       id="birthday"
                                       value="${b.birthday}"
                                >
                                <div class="form-group">
                                    <label for="age">年龄</label>
                                    <input type="text"
                                           name="age"
                                           class="form-control"
                                           id="age"
                                           value="${b.age}"
                                    >
                                    <div class="form-group">
                                        <label for="address">地址</label>
                                        <input type="text"
                                               name="address"
                                               class="form-control"
                                               id="address"
                                               value="${b.address}"
                                        >
                                        <div class="form-group">
                                            <label for="createdate">进入公司时间</label>
                                            <input type="text"
                                                   name="createdate"
                                                   class="form-control"
                                                   id="createdate"
                                                   value="${b.createdate}"
                                            >
                            </div>

                </div>

                <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-plus"></i> 修改</button>
                <button type="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
                <button type="button" onclick="window.history.back(-1)" class="btn btn-danger"><i
                        class="glyphicon glyphicon-refresh"></i> 返回
                </button>
                </form>


            </div>
        </div>
    </div>
</div>
</div>
</div>
</div>
</body>
</html>
